package com.luomu.base.biz.cookBook.address.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 京东地址字典表(TDictAddressJd)实体类
 *
 * @author wangxiaoqin
 * @since 2024-07-23 15:52:59
 */
@TableName("t_dict_address_jd")
public class TDictAddressJdPO implements Serializable {
    private static final long serialVersionUID = -82399830586901355L;
    /**
     * 主键ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 编码
     */
    private Long code;
    /**
     * 名称
     */
    private String name;
    /**
     * 父级编码
     */
    private Long pcode;
    /**
     * 级别: 1-省  2-市 3-区(县) 4-乡(街道)
     */
    private Integer level;
    /**
     * 末级标志: 0-否 1-是
     */
    private Integer lastFlag;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPcode() {
        return pcode;
    }

    public void setPcode(Long pcode) {
        this.pcode = pcode;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLastFlag() {
        return lastFlag;
    }

    public void setLastFlag(Integer lastFlag) {
        this.lastFlag = lastFlag;
    }

}

